package com.hoshiicloud.mallshop.service.goodsmanage;

import com.hoshiicloud.mallshop.param.ProductSpuParam;

import java.util.Map;

/**
 * 店铺商品发布Service
 * @author linjx on 2019/9/16
 */
public interface GoodsReleaseService {

    /**
     * 商品发布前的数据准备
     */
    Map<String, Object> publishPreData(Long categoryId, Map<String, Object> myMap);

    /**
     * 发布商品
     */
    Boolean saveGoods(ProductSpuParam spuParam);
}
